.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.681);
  z-index: 9999;
}

.popup-content {
  position: absolute;
  overflow: hidden;
  overflow-y: scroll;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #05090e;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  animation: popup-fade 0.6s ease-in-out;
  /* border-radius: 28px; */
}

.popupSlider {
  height: 468px;
  position: relative;
  overflow: hidden;
  /* border-radius: 24px; */
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
}
.popupSlider .swiper-slide {
  position: relative;
}
.popupSlider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: -1;
}

.sliderShadow {
  position: absolute;
  bottom: 0px;
  left: 0;
  background-color: #0000009d;

  width: 100%;
  height: 87px;
  z-index: 999;
  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.popup-content .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background-color: #cecfd0;
  transition: 0.5s;
}

.popup-content .swiper-pagination-bullet-active {
  background-color: #ffffff;
  width: 26px;
}

.popup-content .swiper-pagination {
  position: absolute;
  bottom: 87px;
}
.popupClose {
  width: 40px;
  height: 40px;
  background-color: #c8c8c8be;
  border-radius: 20px;
  padding: 2px 0 0 1px;

  font-size: 1rem;
  font-weight: 700;

  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.food-name p {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}
.food-name span {
  font-size: 14px;
  font-weight: 400;
  color: #a2a2a2;
}
.food-information {
  padding: 0 24px;
  margin-top: 16px;
}

.food-information li {
  color: #a2a2a2;
  list-style: none;
  font-weight: 500;
}
.food-information span {
  color: #ffffff;
}

.food-size {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}
.food-size > p {
  margin-top: 24px;
  margin-bottom: 8px;
  color: #a2a2a2;
  font-weight: 400;
}

#gerdoo-sizes-v2 p{
  color: #727272 !important;
}

#gerdoo-sizes-v2 div>span {
  background-color: #CECDE3;
}
#gerdoo-sizes-v2 div>span.active-size {
  border-color: #686786;
  color: #686786 !important;
}

#gerdoo-sizes-v2 span{
  color: #323232 !important;
}
#gerdoo-sizes-v2 span::after{
  color: #686786 !important;
} 

#gerdoo-sizes-v3 p{
  color: #FFFFFF !important;
}

#gerdoo-sizes-v3 div>span {
  background-color: #2D2E35;
  color: #CACACA !important;
}
#gerdoo-sizes-v3 div>span.active-size {
  border-color: #FFFFFF;
  color: #FFFFFF !important;
}

#gerdoo-sizes-v3 span::after{
  color: #FFFFFF !important;
} 

.sizes {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 15px;
}
.sizes span {
  padding: 6px 10px;
  background-color: #141921;
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  border-radius: 6px;
  width: 155px;
  height: 34px;
  text-align: center;
}
.food-size > span {
  justify-self: flex-end;
  margin-top: 24px;
  text-align: left;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
}
.food-size > span::after {
  content: "تومان ";
  color: #b46a2a;
  margin-right: 5px;
  font-size: 16px;
  font-weight: 400;
}

#gerdoo-sizes-v3 span:last-of-type::before {
  content: "T " !important;
}
#gerdoo-sizes-v3 .sizes span::before {
  content: "" !important;
}
#gerdoo-sizes-v3 span:last-of-type::after {
  content: "" !important;
}

.food-details__video {
  align-self: flex-end;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;

  gap: 10px;
  padding-bottom: 16px;
}
.food-details__video img {
  width: 20px;
  height: 20px;
}

.active-size {
  border: 1px solid #b46a2a;
  color: #b46a2a;
  background-color: transparent !important;
  transition: 0.3s all;
}

video {
  display: none;
  height: 200px;
  margin: 25px 0;
}

@keyframes popup-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media screen and (max-height: 644px) {
  .popup-image {
    height: 215px;
  }
  .nextEl {
    margin-bottom: -5px;
  }
}

@media screen and (min-height: 602px) {
  .popup-image {
    overflow: hidden;
  }
}

#change-data {
  display: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  position: fixed;
  top: 40%;
  right: 33%;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 7px;
  width: 30%;
}

div.modal-content div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 110px;
}

div.modal-content div p {
  font-family: dana;
  text-align: center;
}

@media screen and (max-width: 314px) {
  .modal-content {
    right: 4%;
    width: 92%;
  }
}
@media screen and (max-width: 370px) and (min-width:315px) {
  .modal-content {
    right: 18%;
    width: 65%;
  }
}
@media screen and (max-width: 531px) and (min-width:371px){
  .modal-content {
    right: 22.5%;
    width: 55%;
  }
}
@media screen and (max-width: 1024px) and (min-width:951px) {
  .modal-content {
    right: 33%;
    width: 34%;
  }
}